package com.nanjia.boot.delivery.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.delivery.model.entity.Certificate;
import com.nanjia.boot.delivery.model.query.CertificateQuery;
import com.nanjia.boot.delivery.model.vo.CertificateVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 证件Mapper接口
 *
 * @author 周洋
 * @since 2025-06-13 11:09
 */
@Mapper
public interface CertificateMapper extends BaseMapper<Certificate> {

    /**
     * 获取证件分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<CertificateVO>} 证件分页列表
     */
    Page<CertificateVO> getCertificatePage(Page<CertificateVO> page, CertificateQuery queryParams);

}
